export default {
    namespaced:true,
  state: {
    count: 1
  },
  mutations: {
    setCount(state,num){
      state.count=num
    }
  },
  actions: {
    setCountPromise(context,num){
      context.commit('setCount', num)
    }
  },
  getters: {
    countStatus(state) {
      return state.count>1
    }
      
  }
}